package org.jeecg.modules.stCaigd.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 采购单详情
 * @Author: jeecg-boot
 * @Date:   2020-08-09
 * @Version: V1.0
 */
@ApiModel(value="hq_st_caigd对象", description="食堂采购单")
@Data
@TableName("hq_st_caigd_detail")
public class HqStCaigdDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**供应商*/
	@Excel(name = "供应商", width = 15, dictTable = "hq_st_supplier", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "供应商")
	private String gongys;
	/**食材*/
	@Excel(name = "食材", width = 15, dictTable = "hq_st_shic", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "食材")
	@Dict(dicCode = "shicId")
	private String shicId;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private Integer shul;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
	private Double danj;
	/**合计*/
	@Excel(name = "合计", width = 15)
	@ApiModelProperty(value = "合计")
	private Double hej;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remarks;
	/**采购单id*/
	@ApiModelProperty(value = "采购单id")
	private String stCaigdId;
}
